package com.huahai.pojo.dto.comment;

import com.huahai.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 评论查询请求参数
 *
 * @author huahai
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CommentQueryDTO extends PageRequest implements Serializable {

    private static final long serialVersionUID = -5787971201849208004L;

    /**
     * id
     */
    private Long id;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 评论用户 id
     */
    private Long userId;

    /**
     * 图片 id
     */
    private Long pictureId;

    /**
     * 父级评论 id
     */
    private Long fatherId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 点赞量
     */
    private Integer likeCount;
}
